home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 1 Issue 2 / PDCD-1 - Issue 02.iso / _utilities / utilities / 001 / src / txtutils16 / lib / Makefile
Makefile  |  1994-02-07  |  1KB  |  36 lines

  1. # Makefile for library files used by GNU textutils.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3. # Copyright (C) 1991 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. SOURCES = c.error c.getopt c.getopt1 c.linebuffer c.regex c.xmalloc \
  20.             c.xwrite c.bcopy c.memchr c.memcmp c.memset c.stpcpy \
  21.             c.strtol c.strtoul c.alloca
  22.  
  23. # Always link in the fast GNU memchr; it speeds up sort, especially on HP-UX.
  24. OBJECTS =  o.error o.linebuffer o.xwrite o.xmalloc o.memchr o.stpcpy\
  25.             # Uncomment the following if you've not got them as libraries.
  26.             #o.getopt o.getopt1 o.regex
  27.  
  28. CFLAGS = -DARCH -DSTDC_HEADERS -DHAVE_UNISTD_H -IUnix:
  29. CC= %gcc
  30.  
  31. # Should be built into libtu, but I don't have a library builder :-(
  32. all: $(OBJECTS)
  33.  
  34. o.getopt1: h.getopt
  35. o.regex: h.regex
  36.